import { NgModule, Type } from '@angular/core';
import { SharedModule } from '@shared';
import { SysRoutingModule } from './sys-routing.module';
import { SysPermissionComponent } from './permission/permission.component';
import { SysMenuComponent } from './menu/menu.component';
import { SysRoleComponent } from './role/role.component';
import { SysUserComponent } from './user/user.component';
import { SysPermissionEditComponent } from './permission/edit/edit.component';
import { SysRoleEditComponent } from './role/edit/edit.component';

const COMPONENTS: Type<void>[] = [
  SysPermissionComponent,
  SysMenuComponent,
  SysRoleComponent,
  SysUserComponent,
  SysPermissionEditComponent,
  SysRoleEditComponent];

@NgModule({
  imports: [
    SharedModule,
    SysRoutingModule
  ],
  declarations: COMPONENTS,
})
export class SysModule { }
